<?php

class panier {
    private $articles;
    
    public function __construct(){
        $this->articles = array();  
    }
    
    public function addArticle($article){
        $this->articles[] = $article;
    }
    
    public function getArticle(){
        return $this->articles;
    }
    
    public function setArticle($article){
        $this->articles = $article;
    }
}

?>